#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<stdlib.h>

int main()
{
	int* ptr = (int*)malloc(1024 * 1024 * 1024 * 2000);
	printf("%p\n", ptr);

	return 0;
}

void QueuePop(Queue* pq, QDatatype x)
{
	assert(pq);
	assert(pq->head!=NULL);
	QNode* oldhead = pq->head;
	QNode* newhead = pq->head->next;
	pq->head = newhead;
	pq->size--;
	free(oldhead);
	oldhead = NULL;
	if (pq->head->next == NULL)
	{
		free(pq->head);
		pq->head = pq->tail = NULL;
	}
}
